#ifndef XSLTRANSFORMER_H
#define XSLTRANSFORMER_H

#include <iostream>

class XmlElement;
class Document;
class Node;

class XSLTransformer {

public:
	XSLTransformer(Document* xslDocument);	
	
	Document* transformXML(Document* xmlDocument);

private:
	
	Document* mXSLDocument;

	Node* transformNode(XmlElement* node);
	void transformTemplate(XmlElement* templateNode, XmlElement* originalNode);

};

#endif //XSLTRANSFORMER_H
